package com.fht.service.promotion.impl;


import com.fht.entity.PromotionCategory;
import com.fht.mapper.promotion.PromotionCategoryMapper;
import com.fht.service.promotion.PromotionCategoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
@Slf4j
public class PromotionCategoryServiceImpl implements PromotionCategoryService {

    @Resource
    public PromotionCategoryMapper promotionCategoryMapper;

    @Override
    public List<PromotionCategory> selectAll() {
        return promotionCategoryMapper.selectAll();
    }
}
